unit TestDllForm;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;

type
  TForm7 = class(TForm)
    btn1: TButton;
    lbledtStartStationCode: TLabeledEdit;
    procedure btn1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form7: TForm7;

  procedure DownloadBcList(startStationCode: AnsiString); stdcall; external 'JsjtIntf2023.dll' name 'DownloadBcList';

implementation

{$R *.dfm}

procedure TForm7.btn1Click(Sender: TObject);
begin
  DownloadBcList(lbledtStartStationCode.Text);
end;

end.
